package com.xiaodou.mjf.web.xface.product.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by Rocky on 2/27/15.
 */
public class XiaoDouProduct {

    private String id;
    private String name;
    private Integer term;
    @JsonProperty("interest_rate")
    private Double interestRate;
    @JsonProperty("min_amount")
    private Double minAmount;
    private Integer status;
    @JsonProperty("residual_amount")
    private Double residualAmount;

    public XiaoDouProduct(){}

    public XiaoDouProduct(String id,String name,Integer term,Double interestRate,Double minAmount,Integer status,Double residualAmount){
        this.id = id;
        this.name = name;
        this.term = term;
        this.interestRate = interestRate;
        this.minAmount = minAmount;
        this.status = status;
        this.residualAmount = residualAmount;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getTerm() {
        return term;
    }

    public void setTerm(Integer term) {
        this.term = term;
    }

    public Double getInterestRate() {
        return interestRate;
    }

    public void setInterestRate(Double interestRate) {
        this.interestRate = interestRate;
    }


	public Double getMinAmount() {
		return minAmount;
	}

	public void setMinAmount(Double minAmount) {
		this.minAmount = minAmount;
	}

	public Double getResidualAmount() {
		return residualAmount;
	}

	public void setResidualAmount(Double residualAmount) {
		this.residualAmount = residualAmount;
	}

	public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
